import * as types from '../constants/ActionTypes'
import * as buttonTypes  from '../constants/CollectionButtonTypes'

export function pictureButtonClick(buttonType, buttonID, title) {
  let type = types.CLASSIFY;
  switch (buttonType) {
    case buttonTypes.SHORTCUTCOLLECTION:{
      type = types.SHORTCUT;
    }
  }
  console.log('dianji');
  return {
    type:type,
    id: buttonID,
    title: title,
  };
}